package com.zhuchaooasystem.postJson;

import android.content.Context;

import com.zhuchaooasystem.api.HttpUtil;

import java.util.Map;

/**
 * @author yinsi
 */

public class BaseJson {

    protected String Version;
    protected String SystemNum;
    protected String nonce_str;
    protected String sign;

    public BaseJson(Context context) {
        Map<String, String> map = HttpUtil.getHttpMap(context);
        this.Version = map.get("Version");
        this.SystemNum = map.get("SystemNum");
        this.nonce_str = map.get("nonce_str");
        this.sign = map.get("sign");
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSystemNum() {
        return SystemNum;
    }

    public void setSystemNum(String systemNum) {
        SystemNum = systemNum;
    }

    public String getVersion() {
        return Version;
    }

    public void setVersion(String version) {
        Version = version;
    }
}
